from app import create_app
from app.listener.listener import start_listener_thread

app = create_app()

if __name__ == '__main__':
    start_listener_thread()
    app.run(debug=True, port=8080)